package com.tanhua.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageResult<T> implements Serializable {
    /**总数量*/
    private int counts;
    /**每页几条*/
    private int pagesize;
    /**分了多少页*/
    private int pages;
    /**当前页码*/
    private int page;
    /**数据列表*/
    private List<T> items = Collections.emptyList();
}